<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>系统- 用户管理</title>
<link href="<%=basePath%>/css/default.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=basePath%>/js/jquery/jquery-1.7.1.js"></script>
<script type="text/javascript" src="<%=basePath%>/js/common.js"></script>
<script type="text/javascript" src="<%=basePath%>/js/main.js"></script>
<script type="text/javascript">
$(function() {
	initControlMenu();
});
var diag;
function openWin(url,width,height,title,messageTitle,message){
	diag = new Dialog("Dialog-User");
	diag.Width = width;
	diag.Height = height;
	diag.Title = title;
	diag.URL = url;
	diag.ShowMessageRow = true;
	diag.ShowButtonRow = false;
	diag.MessageTitle = messageTitle;
	diag.Message = message;
	//diag.OKEvent = addSave;
  	diag.show();
}
function closeWin(){
	if(diag){diag.close();}
}
function returnLogin() {
	document.location.href="<%=basePath%>/login.jsp";
};
function changePassword(){
	openWin("<%=basePath%>/goToChangePassword.do",300,200,'用户管理','修改密码','');
}
</script>

</head>
<body style="min-width:1003px">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="bluebg" style="background:#3388bb url(<%=basePath%>/images/vistaBlue.jpg) repeat-x left top;">
	<tr>
		<td height="70" valign="bottom">
		<table height="70" border="0" cellpadding="0" cellspacing="0" style="position:relative;">
			<tr>
				<td style="padding:0"><img src="<%=basePath%>/images/logo.gif" /></td>
			</tr>
			<tr>
				<td valign="bottom" nowrap="nowrap">
				<div
							style=" float:left; background:url(<%=basePath%>/images/selectsitebg.gif) no-repeat right top; color:#666666; padding:6px 23px 0 10px; margin-bottom:-2px;">
							<span id="selectsite" style="display: inline">当前站点:
								<div class='zSelect'
									style="display: inline-block; *zoom: 1; *display: inline; vertical-align: middle; height: auto; width: auto; position: relative; border: none; margin: 0; padding: 0; white-space: nowrap"
									styleOriginal="width:130px;" listWidth="250"
									defaultblank="false" value="null" initValue="null">
									<input type='text' autocomplete='off' class='inputText'
										style="vertical-align: middle; cursor: default; width: 130px;"
										value='后台管理' /><img class='arrowimg'
										src='<%=basePath%>/images/blank.gif' width='18' height='20'
										style='position: relative; left: -18px; margin-right: -19px; cursor: pointer; width: 18px; height: 20px; vertical-align: middle;' />
								</div>
							</span> <img src="<%=basePath%>/images/selectsite_hide.gif" width="13"
								height="13" align="absmiddle" style="cursor: pointer;"
								title="隐藏"
								onclick="a=document.getElementById('selectsite').style.display=='none'?false:true;document.getElementById('selectsite').style.display=a?'none':'inline';this.src=a?'<%=basePath%>/images/selectsite_show.gif':'<%=basePath%>/images/selectsite_hide.gif';this.title=a?'展开':'隐藏'" />
						</div>
					</td>
			</tr>
		</table>
		</td>
		<td valign="bottom">
		<div style="text-align:right; margin:0 20px 15px 0;">当前用户：<b>admin</b>
		&nbsp;[&nbsp;<a href="javascript:void(0);" onclick="javascript:;">短消息(<span
			id="MsgCount">0</span>)</a> | <a href="<%=basePath%>/logout.do">退出登录</a> | <a
			href="javascript:void(0);" onclick="changePassword();">修改密码</a> ]</div>
		<table border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td align="center">
				<div class="navigation">
					<c:forEach items="${sessionScope.SESSION_BACK_USER_KEY.menuTree.subNode}" var="item">
						<a href="<%=basePath%>${item.node.url}"><b>${item.node.menuName}</b></a>
					</c:forEach>
				</div>
				</td>
			</tr>
		</table>
		</td>
	</tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
		<tr>
			<td style="padding:6px 3px 3px 3px;">
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td width="4" height="2"
						style="background:url(<%=basePath%>/images/jiao.gif) no-repeat right bottom;"></td>
					<td width="100%" class="tabpageBar"></td>
				</tr>
				<tr valign="top">
					<td align="right" class="verticalTabpageBar">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td align="right" valign="bottom">								
								<div id="handlerContainer">
									<c:forEach items="${sessionScope.SESSION_BACK_USER_KEY.menuTree.subNode[0].subNode}" var="item">
										<div url="<%=basePath%>/${item.node.url}" class="divtab">
										<img src="<%=basePath%>/images/icons/icon004a17.gif" /><b><span>${item.node.menuName}</span></b>
										</div>
									</c:forEach>
									
								</div>
								
							</td>
						</tr>
					</table>
					</td>
					<td>
					<table width="100%" border="0" cellspacing="0" cellpadding="0"
						id="maintable"
						style="border-bottom:#999999 1px solid; border-right:#999999 1px solid;">
						<tr>
							<td><iframe id="consoleFrame" name="consoleFrame" frameborder="0" width="100%" height="596" src='' scrolling="auto"></iframe></td>
						</tr>
					</table>
					</td>
				</tr>
			</table>
			</td>
		</tr>
	</table>

</body>
</html>


















